HTMLify
index.html
Views: 36 | Author: learnearn-fun
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 | <link rel= stylesheet href="styles.css"/> <div class="container"> <header class="header"> <h1 id="title" class="text-center">Hridaya's Survey Form</h1> <p id="description" class="description text-center"> Thank you for taking the time to help </p> </header> <form id="survey-form"> <div class="form-group"> <label id="name-label" for="name">Name</label> <input type="text" name="name" id="name" class="form-control" placeholder="Enter your name" required /> </div> <div class="form-group"> <label id="email-label" for="email">Email</label> <input type="email" name="email" id="email" class="form-control" placeholder="Enter your Email" required /> </div> <div class="form-group"> <label id="number-label" for="number" >Age<span class="clue">(optional)</span></label > <input type="number" name="age" id="number" min="10" max="99" class="form-control" placeholder="Age" /> </div> <div class="form-group"> <p>How did you like my survey</p> <select id="dropdown" name="role" class="form-control" required> <option disabled selected value>How did you like my survey</option> <option value="student">Super</option> <option value="job">Very Good</option> <option value="learner">Good</option> <option value="preferNo">Bad</option> <option value="other">Other</option> </select> </div> <div class="form-group"> <p>Would you recommend my pen to a friend?</p> <label> <input name="user-recommend" value="definitely" type="radio" class="input-radio" checked />Definitely</label > <label> <input name="user-recommend" value="maybe" type="radio" class="input-radio" />Maybe</label > <label ><input name="user-recommend" value="not-sure" type="radio" class="input-radio" />Not sure</label > </div> <div class="form-group"> <p> What is your favorite feature of codepen? </p> <select id="most-like" name="mostLike" class="form-control" required> <option disabled selected value>Select an option</option> <option value="challenges">Challenges</option> <option value="projects">Projects</option> <option value="community">Pens</option> <option value="openSource">Uploading assests</option> </select> </div> <div class="form-group"> <p> What would you like to see improved in my survey? <span class="clue">(Check all that apply)</span> </p> <label ><input name="prefer" value="front-end-projects" type="checkbox" class="input-checkbox" />CSS needs to be more complex</label > <label> <input name="prefer" value="back-end-projects" type="checkbox" class="input-checkbox" />Use some javascript</label > <label ><input name="prefer" value="data-visualization" type="checkbox" class="input-checkbox" />NO changes required</label > <div class="form-group"> <p>Any comments or suggestions?</p> <textarea id="comments" class="input-textarea" name="comment" placeholder="Enter your comment here..." ></textarea> </div> <div class="form-group"> <button type="submit" id="submit" class="submit-button"> Submit </button> </div> </form> </div> |